package com.nowar.common.util.thread;

import java.util.concurrent.ThreadPoolExecutor;

/**
 * @Author: 谢无殇。
 * @Date : 2023-06-04 22:32
 */
public interface ThreadPool {

    void execute(Runnable runnable);

    void execute(Runnable runnable, String name);

    ThreadPoolExecutor getExecutor();
}
